package cn.broadsense.thrid.result;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 算法能力返回接口
 *
 * @author pengxin
 * @date 2022-10-08 12:06
 */
@NoArgsConstructor
@Data
public class AlgorithmResult implements Serializable {
    private static final long serialVersionUID = 7046179828580020873L;


    private Integer totalCount;
    private Integer nextPage;
    private List<ResultsAlgorithmResult> results;

    @NoArgsConstructor
    @Data
    public static class ResultsAlgorithmResult {
        private String algorithmId;
        private String algorithmName;
        private String algorithmClass;
        private String rule;
        private String ruleType;
        private Integer algorithmType;
        private String algorithmCode;
        private String algorithmMouldUrl;
        private String industryScene;
        private Integer enable;
        private String algorithmVersion;
        private String description;
        private String sceneCondition;
        private String vendorCode;
        private String vendorName;
        private String updateTime;
        private String cardMode;
        private String cardType;
        private String picUrl;
        private Integer dpEnable;
        private Integer functionType;
        private String currentVersion;
        private String applicationScenario;
        private Integer stat;
        private String createDate;
        private String createBy;
        private String updateDate;
        private String updateBy;
        private String presetAlgorithmCode;
        private List<VersionsAlgorithmResult> versions;

        @NoArgsConstructor
        @Data
        public static class VersionsAlgorithmResult {
            private String algorithmVersion;
            private String description;
            private String sceneCondition;
            private String vendorCode;
            private String vendorName;
            private String updateTime;
            private String cardMode;
            private String cardType;
            private String picUrl;
            private Integer dpEnable;
            private Integer functionType;
            private String algorithmPolymericId;
            private Integer businessType;
            private String architecture;
            private String algorithmInfo;
            private String algorithms;
            private Integer stat;
            private String pictureUrl;
            private String algorithmCode;
            private String createDate;
            private String createBy;
            private String updateDate;
            private String updateBy;
        }
    }
}
